﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.ServiceModel;
using IssueTracker.Business.BO;
using IssueTracker.Business.Entity;

namespace IssueTracker.Service
{
    [ServiceContract(Namespace="http://IssueTracker/service")]
    public interface IProjectService
    {
        [OperationContract]
        Project CreateProject(Project project);

        [OperationContract]
        Project UpdateProject(Project project);

        [OperationContract]
        void DeleteProject(Project project);

        [OperationContract]
        IEnumerable<Project> ListProjects();

        [OperationContract]
        Project GetProject(int id);

    }
}
